
<div class="admin">
    <div class="tab panel dux-box admin-panel">
        <div class="panel-head">
            <strong>
                <empty name="goods.goods_id">
                    新增评论
                    <else />
                    <span style="color: red">{$goods['goods_name']}</span>商品新增评论
                </empty>
            </strong>

        </div>
        <div class="fixed-empty"></div>

        <form id="goods_class_form" action="" method="post">
            <table class="table tb-type2">
                <tr>
                    <td colspan="4" align="left"><b>用户评价时间<sapn style="margin-left: 20px;color: red">不填写默认为当前时间</sapn></b></td>
                </tr>
                <tr>
                    <td><input class="input input_big hasDatepicker" type="text" value="" id="query_start_time" name="add_time" readonly="readonly"></td>
                </tr>
                <tr>
                    <td colspan="4" align="left"><b>评价<sapn style="margin-left: 20px;color: red">不填写时：这位用户比较懒，没有留下任何信息。 发表图片最多5张</sapn></b></td>
                </tr>
                <tr>
                    <td width="30%"><textarea name="comment" cols="50" rows="5"></textarea></td>
                    <td colspan="3">
                        <div class="goodspic-uplaod">
                            <!-- 图片上传按钮 -->
                            <a class="button input-file bg-blue" href="javascript:void(0);">+ 浏览文件
                            <input class="fileupload" type="file" name="image" data-name="goods_images[]" data-num="5" />
                            </a>
                            <!-- 图片展示模块 -->
                            <div class="files"></div>
                            <div style="clear:both;"></div>
                            <!-- 图片上传进度条模块 -->
                            <div class="up_progress"><div class="progress-bar"></div></div>
                        </div>
                    </td>
                </tr>
                <tr>
                   <td colspan="4"><b>分项评价<sapn style="margin-left: 20px;color: red">填写1~5数字 不填写默认为5</sapn></b></td>
                </tr>
                <tr>
                    <td >描述：<input type="text" name="miaoshu"></td>
                    <td >服务：<input type="text" name="fuw"></td>
                    <td >发货：<input type="text" name="fahuo"></td>
                    <td >物流：<input type="text" name="wuliu"></td>
                </tr>
                <tr>
                    <td colspan="4" align="left"><b>商品信息<b></td>
                </tr>
                <tr>
                    <td>商品id：

                        <empty name="goods.goods_id">
                            <input type="text" name="goods_id"><sapn style="color: red">（必填)</sapn>
                        <else />
                            <input type="text" name="goods_id" value="{$goods['goods_id']}" readonly="true">
                        </empty>

                    </td>
                    <td colspan="4">当前评价点赞次数：<input type="text" name="thumbs_up"><sapn style="color: red">（不填写默认为0）</sapn></td>
                </tr>
                <tr>
                    <td colspan="4" align="left"><b>管理员回复评价<sapn style="margin-left: 20px;color: red">不填写则为没有回复</sapn><b></td>
                </tr>
                <tr class="noborder">
                    <td colspan="4">
                        <script type="text/javascript" charset="utf-8" src="/Public/ueditor1_4_3/ueditor.config.js"></script>
                        <script type="text/javascript" charset="utf-8" src="/Public/ueditor1_4_3/ueditor.all.min.js"></script>
                        <script type="text/javascript" charset="utf-8" src="/Public/ueditor1_4_3/lang/zh-cn/zh-cn.js"></script>
                        <textarea id="editor" type="text/plain" style="width:100%;height:200px;" name="reply" >{$comment['reply']}</textarea>
                        <script>
                            var ue = UE.getEditor('editor');
                            UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
                            UE.Editor.prototype.getActionUrl = function(action) {
                                if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage') {
                                    return 'http://admin.taodudu.com/Admin/ueditor';
                                } else {
                                    return this._bkGetActionUrl.call(this, action);
                                }
                            }
                        </script>
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="4"><input class="button bg-main" type="submit" value="提交"></td>
                </tr>
            </table>
        </form>
    </div>
</div>
<script type="text/javascript" src="/Public/js/jquery.uploads.js"></script>
<script>
    $('#goods_class_form').layer({});
    $('#query_start_time').duxTime({
        timepicker:true,

    });
</script>